import { BroadCastCall } from "../broadCast/BroadCastCall";
import { MessageBlock } from "../../../../Framework/MQ/MessageBlock";
import { Cache } from "../../cache/Cache";
import { SGuildMap } from "../../../../Message/Public/SGuildMap";
import { ThingUtil } from "../../scene/layer/utils/ThingUtil";
//class UpdateGuildMapCommand
    
    export  class UpdateGuildMapCommand extends BroadCastCall
    {
        constructor(arg1: Object)
        {
            super(arg1);
            return;
        }

        public /* override */ call(arg1: MessageBlock): void
        {
            Cache.instance.guild.guildLevelMap = arg1.messageBase as SGuildMap;
            ThingUtil.isBuildChange = true;
            return;
        }
    }
